package cn.edu.lzzy;

public class GameCharacters {
//    攻击
    public int attack;
    public GameCharacters(int attack) {
        this.attack=attack;
    }
    public int getAttack() {
        return attack;
    }
    public void setAttack(int attack) {
        this.attack = attack;
    }

//    天雷技能
    public  int ThunderDamage () {
        return attack*20;

    };
//    地火技能
    public int GroundFireDamage () {
        return attack*15;
    };
//    技能伤害=地火+天雷
    public int SkillDamage() {
        return ThunderDamage()+GroundFireDamage();

    }


}
